# -*- coding: utf-8 -*-
# Created by admin on 2020/3/27
# Copyright (c) 2020 admin. All rights reserved.
try:
    name="zhangsan"
    print(name)
except:
    print("代码出错了")
else:   #try后面的代码如果没有异常，会继续执行else后的代码
    print("代码正常")